<template>
    <div class="common-layout">
        <el-container>
            <SideMenu></SideMenu>
            <el-container direction="vertical">
                <TopHeader></TopHeader>
                <el-main>
                    <el-scrollbar>
                        <!-- 二级路由出口 -->
                        <RouterView></RouterView>
                    </el-scrollbar>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>

<script setup>
import SideMenu from './layout/SideMenu.vue';
import TopHeader from './layout/TopHeader.vue';


</script>